package com.pengxun.mall.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class StoreDTO{

	@NotEmpty(message="address不能为空") 
	private String address;

	@NotNull(message="groupId不能为空") 
	private Integer groupId;

	@NotEmpty(message="phone不能为空") 
	private String phone;

	@NotEmpty(message="name不能为空") 
	private String name;

	
	private Integer id;

	@NotEmpty(message="shopName不能为空") 
	private String shopName;


}